From: Jochen Sprickerhof Date: Fri, 18 Aug 2017 09:30:38 +0000 (+0200) Subject: Fix PCL_ROOT path X-Git-Tag: archive/raspbian/1.14.0+dfsg-5+rpi1^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e46173821dfeb8614177b9ccde26c2cb95751b04;p=pcl.git Fix PCL_ROOT path Gbp-Pq: Name 0001-Fix-PCL_ROOT-path.patch --- diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in index cf21c443..2eafd3cc 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in @@ -411,7 +411,7 @@ if(WIN32 AND NOT MINGW) endif() else() # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y - get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) + get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE) endif() # check whether PCLConfig.cmake is found into a PCL installation or in a build tree